home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / system / srs236.zip / SRF1.BAT < prev    next >
DOS Batch File  |  1987-10-10  |  1KB  |  26 lines

  1. echo off
  2. echo Start the shell (SR); point to any file; then,
  3. echo enter Function Key [F1] causing SRF1.BAT to be executed.
  4. echo Up to 40 [command_server] files maybe defined per directory
  5. echo -------------------------------------------------------------------
  6. echo SAMPLE USER DEFINED COMMANDS - shell_state values
  7. echo -
  8. echo                  command = %0
  9. echo                shell set = %1
  10. echo            current drive = %2
  11. echo             current path = %3
  12. echo       selected file name = %4
  13. echo  selected file extension = %5
  14. echo                full path = %2:%3%4.%5
  15. echo -------------------------------------------------------------------
  16. echo The  following  is an example how to edit, with your editor,  the
  17. echo current selected or tagged file from within the shell.  
  18. echo -
  19. echo myeditor %2:%3%4.%5  - or -  myeditor %4.%5
  20. echo -------------------------------------------------------------------
  21. echo Other examples of batch [command_server] files used with the shell:
  22. echo -
  23. echo %4.%5                  (execute the selected or tagged file)
  24. echo copy %4.%5 lpt1:       (print the selected or tagged file)
  25. echo arc a myarc.arc %4.%5  (archive the selected or tagged file)
  26. echo on